<?php /* Smarty version Smarty-3.0.7, created on 2012-07-06 14:02:42
         compiled from "E:\Project\Company\dus\shipinall.cn\Subversion\wwwroot/template/templates\mc/account/info.tpl" */ ?>
<?php /*%%SmartyHeaderCode:301564ff67f82dd61c2-74884315%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '15c488fd43862ef1d3a6d5daed55267e4632d616' => 
    array (
      0 => 'E:\\Project\\Company\\dus\\shipinall.cn\\Subversion\\wwwroot/template/templates\\mc/account/info.tpl',
      1 => 1341554260,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '301564ff67f82dd61c2-74884315',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<script type="text/javascript" src="/scripts/jquery.plugins/province_city.js"></script>
<script type="text/javascript" src="/scripts/apps/mc/account/info.js"></script>

<script type="text/javascript" src="/scripts/components/kindeditor/kindeditor-min.js"></script>
<script type="text/javascript" src="/scripts/components/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript">
	var editor;
	KindEditor.ready(function(K) 
	{
		editor = K.create('#Intro', {
		resizeType : 1,
		allowPreviewEmoticons : false,
		items : [
			'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
			'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
			'insertunorderedlist', '|','link','image','source','about']
		});
	});
</script>
<form id="Form_Info" name="Form_Info" action="/exec.php?action=mc_account_info" method="post" enctype="multipart/form-data" target="Process">
    <table width="660" border="0" align="center" cellpadding="0" cellspacing="0" class="regBL">
    <tr>
        <td align="left" ><h2>修改公司资料</h2></td>
    </tr>
    </table>

    <table width="650"  align="center" cellpadding="0" cellspacing="0"  class="regBL">
        <tr>
        <td colspan="2" align="right"><span class="redf0">（*）为必填写项</span> </td>
    </tr>
    <tr>
        <td width="102" align="right"><span class="redf0">* </span>公司名称：</td>
        <td width="546">
            <input name="CompanyName" type="text" class="input260" id="CompanyName" value="<?php echo $_smarty_tpl->getVariable('Data')->value['CompanyName'];?>
"  maxlength="100" />
            <span id="AlertContainer_Error_CompanyName"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>经营模式：</td>
        <td >    
            <input id="Model_A" name="Model" type="radio"  class="radio" value="<?php echo $_smarty_tpl->getVariable('Model')->value['PRODUCTION'];?>
" />
            <span class="rad_txt">生产加工</span>
            <input id="Model_B" name="Model" type="radio" class="radio" value="<?php echo $_smarty_tpl->getVariable('Model')->value['WHOLESALE'];?>
" />
            <span class="rad_txt">经销批发</span>
            <input id="Model_C" name="Model" type="radio" class="radio" value="<?php echo $_smarty_tpl->getVariable('Model')->value['BUSINESS'];?>
" />
            <span class="rad_txt">招商代理</span>
            <input id="Model_D" name="Model" type="radio" class="radio" value="<?php echo $_smarty_tpl->getVariable('Model')->value['SERVICE'];?>
" />
            <span class="rad_txt">商业服务</span>        
            <span id="AlertContainer_Error_Model"  class="redf0"></span>
            <input type="hidden" id="ModelValue" name="ModelValue" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Model'];?>
" />
        </td>
    </tr>
    
    <tr>
        <td align="right"><span class="redf0">* </span>注册资本：</td>
        <td>           
            <input name="RegisterdCapital" type="text"  class="input260" id="RegisterdCapital" value="<?php echo $_smarty_tpl->getVariable('Data')->value['RegisterdCapital'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_RegisterCapital"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>成立时间：</td>
        <td>    
            <input name="EstablishedTime" type="text"  class="input260" id="EstablishedTime" value="<?php echo $_smarty_tpl->getVariable('Data')->value['EstablishedTime'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_EstablishedTime"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right" valign="top"><span class="redf0">* </span>主营行业：</td>
        <td>            
            <table border="0" width="100%">
            <tbody>
            <tr>
            	<td align="left"><p class="y_border">请选择完整的行业大类和子类，并添加为主营行业，最多可添加 <font color="#ff0000"><b>6</b></font> 个！</p></td>
            </tr>
            <tr>
                <td >
                    <select id="Trade_Class" name="Trade_Class" size="8">
                    <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Trade_Class')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                    <option value="<?php echo $_smarty_tpl->getVariable('Row')->value['Identifying'];?>
"><?php echo $_smarty_tpl->getVariable('Row')->value['Name'];?>
</option>
                    <?php }} ?>
                    </select>
                    &nbsp;&nbsp;
                    <select id="Trade_Subclass" name="Trade_Subclass" size="8" style="width:300px">
                    </select>
                    
                    <br><input id="Trade_Add" name="Trade_Add" type="image" src="/images/reg_y_btn01.gif" class="btn">
                    <input id="Trade_Delete" name="Trade_Delete" type="image" src="/images/reg_y_btn02.gif" class="btn">
            	</td>
            </tr>
            <tr>
                <td>
                    <select id="Trade_Result" name="Trade_Result" style="width:360px;" size="8">
                    	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Trade_Result')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                        	<option value="<?php echo $_smarty_tpl->getVariable('Row')->value['Identifying_Parent'];?>
-<?php echo $_smarty_tpl->getVariable('Row')->value['Identifying'];?>
"><?php echo $_smarty_tpl->getVariable('Row')->value['Name'];?>
</option>
                        <?php }} ?>
                    </select>
                    <input id="Trade_Class_Value" name="Trade_Class_Value" type="hidden" style="width:300px;" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Trade_Class'];?>
" />
                    <input id="Trade_Subclass_Value" name="Trade_Subclass_Value" type="hidden" style="width:300px;" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Trade_Subclass'];?>
" />                                                            
                </td>
            </tr>
            </tbody>
            </table>            
            <span id="AlertContainer_Error_Trade"  class="redf0"></span>        
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>主营产品：</td>
        <td>
            <input name="Product" type="text"  class="input260" id="Product" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Product'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Product"  class="redf0"></span>    
        </td>
    </tr>
    <tr>
        <td align="right">合作公司：</td>
        <td>
            <input name="Partner" type="text"  class="input150" id="Partner" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Partner'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_OldPassword"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>省份/城市：</td>
        <td>
            <select name="Province" class="input105 select" id="Province" >
                <option  selected="selected">选择省份</option>
            </select>
            <select name="City" class="input105 ml8 select" id="City" >
                <option  selected="selected">选择城市</option>
            </select>
            <input type="hidden" id="ProvinceValue" name="ProvinceValue" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Province'];?>
" />
            <input type="hidden" id="CityValue" name="CityValue" value="<?php echo $_smarty_tpl->getVariable('Data')->value['City'];?>
" />        
            <span id="AlertContainer_Error_PC"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>公司地址：</td>
        <td>
            <input name="Address" type="text"  class="input150" id="Address" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Address'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Address"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td height="110" align="right" valign="top">公司LOGO：</td>
        <td>
            <input type="file" id="Logo" name="Logo" /><a href="<?php echo $_smarty_tpl->getVariable('Data')->value['LogoLocation'];?>
" target="_blank">查看</a>
            <input type="hidden" id="LogoValue" name="LogoValue" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Logo'];?>
" />
            <span id="AlertContainer_Error_Logo"  class="redf0"></span>
            <?php if ($_smarty_tpl->getVariable('Data')->value['LogoLocation']!=null){?>
            <br />
	       	<img width="219" height="87" src="<?php echo $_smarty_tpl->getVariable('Data')->value['LogoLocation'];?>
" /></td>
            <?php }?>
    </tr>
    <tr>
        <td align="right" valign="top"><span class="redf0">* </span>公司简介：</td>
        <td>
            <textarea name="Intro" cols="40" rows="12" id="Intro" style="width:600px; height:300px;"><?php echo $_smarty_tpl->getVariable('Data')->value['Intro'];?>
</textarea>
            <span id="AlertContainer_Error_Intro"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right">&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>联 系 人：</td>
        <td>
            <input name="Linkman" type="text" class="input150" id="Linkman" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Linkman'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Linkman"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>性　　别：</td>
        <td>
            <select name="Sex"  class="input150 select" id="Sex" >
                <option value="先生">先生</option>
                <option value="女士">女士</option>
            </select>
            <input name="SexValue" type="hidden" id="SexValue" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Sex'];?>
" />
            <span id="AlertContainer_Error_Sex"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>部　　门：</td>
        <td>
            <input name="Department" type="text"  class="input150" id="Department" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Department'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Department"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>职　　位：</td>
        <td>
            <input name="Position" type="text"  class="input150" id="Position" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Position'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Position"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right">公司网址：</td>
        <td>
            <input name="URL" type="text"  class="input150" id="URL" value="<?php echo $_smarty_tpl->getVariable('Data')->value['URL'];?>
"  maxlength="50" />
        </td>
    </tr>
    <tr>
        <td align="right"><span class="redf0">* </span>固定电话：</td>
        <td>    	
            <input name="Phone" type="text"  class="input150" id="Phone" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Phone'];?>
"  maxlength="50" />
            <span id="AlertContainer_Error_Phone"  class="redf0"></span>
        </td>
    </tr>
    <tr>
        <td align="right">传真号码：</td>
        <td>
            <input name="Fax" type="text"  class="input150" id="Fax" value="<?php echo $_smarty_tpl->getVariable('Data')->value['Fax'];?>
"  maxlength="50" />
        </td>
    </tr>
    <tr>
        <td align="right">手机号码：</td>
        <td>
            <input name="MSISDN" type="text"  class="input150" id="MSISDN" value="<?php echo $_smarty_tpl->getVariable('Data')->value['MSISDN'];?>
"  maxlength="50" />
        </td>
    </tr>
    <tr>
        <td align="right">QQ 号 码：</td>
        <td>
            <input name="QQ" type="text"  class="input150" id="QQ" value="<?php echo $_smarty_tpl->getVariable('Data')->value['QQ'];?>
"  maxlength="50" />
        </span>
        <span  style="color:#ff0000">(填写您的QQ号，意向客户将有机会和您在线洽谈和留言，您会有更多商机！！！)</span>
        </td>
    </tr>
    <tr>
        <td align="right">MSN 号码：</td>
        <td>
            <input name="MSN" type="text"  class="input150" id="MSN" value="<?php echo $_smarty_tpl->getVariable('Data')->value['MSN'];?>
"  maxlength="50" />
        </td>
    </tr>
    </table>
    
    <br />
    <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td align="center" valign="middle">
            <span id="AlertContainer" style="display:none;">正在处理中，请稍候..</span>&nbsp;
        </td>
    </tr>
    </table>
    <br/>
    <table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td align="center" valign="middle">
            <input type="image" id="Submit_Info" name="Submit_Info" src="/images/reg_g_step01.gif" />
        </td>
    </tr>
    </table>
    <br/>
</form>
<iframe id="Process" name="Process" style="display:none;"></iframe>